package com.dxy.multids.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dxy.multids.pojo.OrderInfo;

public interface OrderInfoService extends IService<OrderInfo> {

    OrderInfo addOrder(Long userId, String orderName);

    IPage<OrderInfo> getOrderByUserId(Long userId, Long pageNum, Long pageSize);
}
